github.com/gotd/td/telegram.Client.log (field)
24 uses
github.com/gotd/td/telegram (current package)
cfg.go#L38: c.log.Warn("Got error on config update", zap.Error(err))
client.go#L107: log *zap.Logger // immutable
client.go#L143: log: opt.Logger,
client.go#L172: client.log = client.log.With(zap.String("v", v))
conn_builder.go#L80: opts.Logger = c.log.Named("conn").With(
connect.go#L30: c.log.Warn("Got error on self", zap.Error(err))
connect.go#L35: c.log.Info("Got self", zap.String("username", self.Username))
connect.go#L45: c.log.Debug("Restart triggered")
connect.go#L75: c.log.Info("Restarting connection", zap.Error(err), zap.Duration("backoff", timeout))
connect.go#L84: c.log.Debug("Ready")
connect.go#L114: c.log.Info("Starting")
connect.go#L115: defer c.log.Info("Closed")
connect.go#L155: c.log.Debug("Callback returned, stopping")
handle_updates.go#L43: c.log.Warn("Ignoring update", zap.String("update_type", fmt.Sprintf("%T", u)))
invoke.go#L59: log := c.log.With(
migrate_to_dc.go#L12: c.log.Debug("Triggering restart")
migrate_to_dc.go#L19: c.log.Debug("Restart initialized")
migrate_to_dc.go#L26: c.log.Info("Restart ensured")
pool.go#L32: Logger: c.log.Named("pool").With(zap.Int("dc_id", dc)),
pool.go#L61: c.log.Debug("Creating pool",
pool.go#L80: options.Logger = c.log.Named("conn").With(
session.go#L46: c.log.Info("Connection restored from state",
session.go#L89: c.log.Debug("Data saved",
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |